22 void addClientBehavior(std::shared_ptr<smacc::ISmaccClientBehavior> clientBehavior);
32 virtual std::string
getName()
const;
34 template <
typename SmaccComponentType>
37 template <
typename SmaccClientType>
40 inline const std::vector<std::shared_ptr<smacc::ISmaccClient>> &
getClients();
42 inline const std::vector<std::vector<std::shared_ptr<smacc::ISmaccClientBehavior>>> &
getClientBehaviors()
const;
50 template <
typename TClientBehavior>
56 template <
typename TOrthogonal,
typename TClient>
59 std::vector<std::shared_ptr<smacc::ISmaccClient>>
clients_;
64 std::vector<std::vector<std::shared_ptr<smacc::ISmaccClientBehavior>>>
clientBehaviors_;
std::vector< std::shared_ptr< smacc::ISmaccClient > > clients_
void setStateMachine(ISmaccStateMachine *value)
void assignClientToOrthogonal(TClient *client)
void setGlobalSMData(std::string name, T value)
void requiresComponent(SmaccComponentType *&storage)
ISmaccStateMachine * stateMachine_
virtual std::string getName() const
TClientBehavior * getClientBehavior()
bool requiresClient(SmaccClientType *&storage)
const std::vector< std::vector< std::shared_ptr< smacc::ISmaccClientBehavior > > > & getClientBehaviors() const
virtual void onInitialize()
const std::vector< std::shared_ptr< smacc::ISmaccClient > > & getClients()
void initState(ISmaccState *state)
std::vector< std::vector< std::shared_ptr< smacc::ISmaccClientBehavior > > > clientBehaviors_
bool getGlobalSMData(std::string name, T &ret)
ISmaccStateMachine * getStateMachine()
void addClientBehavior(std::shared_ptr< smacc::ISmaccClientBehavior > clientBehavior)