Go to Post This is real. This is hard. This, is FIRST. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 25-02-2013, 21:46
PaulDavis1968's Avatar
PaulDavis1968 PaulDavis1968 is offline
Embedded Software/Systems Engineer
AKA: Master of Complexity
FRC #2053 (TigerTronics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Endicot NY
Posts: 91
PaulDavis1968 is just really nicePaulDavis1968 is just really nicePaulDavis1968 is just really nicePaulDavis1968 is just really nicePaulDavis1968 is just really nice
Re: Tasks in C++

Quote:
Originally Posted by bob.wolff68 View Post
Here's our team's task-creation class. Basically, you just implement your own Run() when inheriting from it. Credit to 254 for the genesis of this code.

https://github.com/bobwolff68/FRCTea.../jankyTask.cpp

And here's a project which uses the task - the team created this in order to better understand how multi-tasking works. Take a look and ask questions if you have any.

https://github.com/bobwolff68/FRCTea...nkyTaskTestjig

Bob
Am I missing something?

If your not doing this:

http://stackoverflow.com/questions/1...-calling-rules

Than how are you calling the jankyTask Constuctor without arguments in your example code ?

Last edited by PaulDavis1968 : 25-02-2013 at 22:04.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi