All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
TELEKYB_NAMESPACE::Behavior Class Reference

#include <Behavior.hpp>

Inheritance diagram for TELEKYB_NAMESPACE::Behavior:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool canTransitionTo (const Behavior &toBehavior) const
virtual void destroy ()=0
virtual void didBecomeActive (const TKState &currentState, const Behavior &previousBehavior)=0
virtual void didBecomeInActive (const TKState &currentState, const Behavior &nextBehavior)=0
uint64_t getID () const
std::string getIDString () const
std::string getName () const
BehaviorgetNextBehavior () const
const ros::NodeHandlegetNodeHandle () const
BehaviorType getType () const
bool hasNextBehavior () const
virtual void initialize ()=0
bool isActive () const
bool isParameterInitialized () const
virtual bool isValid (const TKState &currentState) const =0
bool setNextBehavior (Behavior *nextBehavior_)
void setParameterInitialized (bool parameterInitialized_)
virtual void trajectoryStepActive (const TKState &currentState, TKTrajectory &generatedTrajInput)=0
virtual void trajectoryStepCreation (const TKState &currentState, TKTrajectory &generatedTrajInput)=0
virtual void trajectoryStepTermination (const TKState &currentState, TKTrajectory &generatedTrajInput)=0
void unsetNextBehavior ()
virtual bool willBecomeActive (const TKState &currentState, const Behavior &previousBehavior)=0
virtual void willBecomeInActive (const TKState &currentState, const Behavior &nextBehavior)=0
virtual ~Behavior ()

Static Public Member Functions

static BehaviorbehaviorFromID (uint64_t behaviorID)
static uint64_t behaviorToID (Behavior *b)
static bool exists (Behavior *behavior)
static bool exists (uint64_t behaviorID)

Protected Member Functions

 Behavior (const std::string &name_, const BehaviorType &type_)

Protected Attributes

BehaviorControllerbController
BehaviorInterfacebehaviorInterface
std::string name
BehaviornextBehavior
ros::NodeHandle nodeHandle
bool parameterInitialized

Private Attributes

BehaviorType type

Detailed Description

Definition at line 39 of file Behavior.hpp.


Constructor & Destructor Documentation

TELEKYB_NAMESPACE::Behavior::Behavior ( const std::string &  name_,
const BehaviorType &  type_ 
) [protected]

Definition at line 23 of file Behavior.cpp.

Definition at line 37 of file Behavior.cpp.


Member Function Documentation

Behavior * TELEKYB_NAMESPACE::Behavior::behaviorFromID ( uint64_t  behaviorID) [static]

Definition at line 123 of file Behavior.cpp.

Definition at line 128 of file Behavior.cpp.

bool TELEKYB_NAMESPACE::Behavior::canTransitionTo ( const Behavior toBehavior) const

Definition at line 117 of file Behavior.cpp.

virtual void TELEKYB_NAMESPACE::Behavior::destroy ( ) [pure virtual]
virtual void TELEKYB_NAMESPACE::Behavior::didBecomeActive ( const TKState currentState,
const Behavior previousBehavior 
) [pure virtual]
virtual void TELEKYB_NAMESPACE::Behavior::didBecomeInActive ( const TKState currentState,
const Behavior nextBehavior 
) [pure virtual]
bool TELEKYB_NAMESPACE::Behavior::exists ( Behavior behavior) [static]

Definition at line 132 of file Behavior.cpp.

bool TELEKYB_NAMESPACE::Behavior::exists ( uint64_t  behaviorID) [static]

Definition at line 136 of file Behavior.cpp.

Definition at line 43 of file Behavior.cpp.

Definition at line 48 of file Behavior.cpp.

std::string TELEKYB_NAMESPACE::Behavior::getName ( ) const

Definition at line 73 of file Behavior.cpp.

Definition at line 107 of file Behavior.cpp.

Definition at line 63 of file Behavior.cpp.

BehaviorType TELEKYB_NAMESPACE::Behavior::getType ( ) const

Definition at line 112 of file Behavior.cpp.

Definition at line 102 of file Behavior.cpp.

virtual void TELEKYB_NAMESPACE::Behavior::initialize ( ) [pure virtual]

Definition at line 78 of file Behavior.cpp.

Definition at line 53 of file Behavior.cpp.

virtual bool TELEKYB_NAMESPACE::Behavior::isValid ( const TKState currentState) const [pure virtual]

Definition at line 83 of file Behavior.cpp.

void TELEKYB_NAMESPACE::Behavior::setParameterInitialized ( bool  parameterInitialized_)

Definition at line 58 of file Behavior.cpp.

virtual void TELEKYB_NAMESPACE::Behavior::trajectoryStepActive ( const TKState currentState,
TKTrajectory generatedTrajInput 
) [pure virtual]
virtual void TELEKYB_NAMESPACE::Behavior::trajectoryStepCreation ( const TKState currentState,
TKTrajectory generatedTrajInput 
) [pure virtual]
virtual void TELEKYB_NAMESPACE::Behavior::trajectoryStepTermination ( const TKState currentState,
TKTrajectory generatedTrajInput 
) [pure virtual]

Definition at line 97 of file Behavior.cpp.

virtual bool TELEKYB_NAMESPACE::Behavior::willBecomeActive ( const TKState currentState,
const Behavior previousBehavior 
) [pure virtual]
virtual void TELEKYB_NAMESPACE::Behavior::willBecomeInActive ( const TKState currentState,
const Behavior nextBehavior 
) [pure virtual]

Member Data Documentation

Definition at line 48 of file Behavior.hpp.

Definition at line 64 of file Behavior.hpp.

std::string TELEKYB_NAMESPACE::Behavior::name [protected]

Definition at line 53 of file Behavior.hpp.

Definition at line 61 of file Behavior.hpp.

Definition at line 50 of file Behavior.hpp.

Definition at line 58 of file Behavior.hpp.

BehaviorType TELEKYB_NAMESPACE::Behavior::type [private]

Definition at line 43 of file Behavior.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


tk_behavior
Author(s): Dr. Antonio Franchi and Martin Riedel
autogenerated on Mon Nov 11 2013 11:13:37